import React from 'react';
import { BrowserRouter as Router, Route, Redirect} from 'react-router-dom'
import Header from './components/header/header'

import HomeAdmin from './pages/homeAdmin/index'

function App() {
  return (
    <div className="App">
      <Header></Header>
      <Router>
        <Route path="/homeAdmin" component={HomeAdmin}></Route>
        <Redirect from="/" to="/homeAdmin"></Redirect>
        {/* <Route path="/homeJuwei" component={HomeAdmin}></Route> */}
      </Router>
    </div>
  );
}

export default App;
